package com.fenqile.pop.product.param;

import com.fenqile.pop.product.ProductInfo;
import com.fenqile.pop.product.result.ProductDetailGetResult;
import com.fenqile.pop.utility.FieldOpt;

/**
 * 获取商品详情 {@value #API_METHOD}
 * 
 * @see AbstractProductIdParameter
 * @see ProductDetailGetResult
 * 
 * @author Coby [cobylin@live.com] 2017
 */
public class ProductDetailGetParameter extends AbstractProductIdParameter<ProductDetailGetResult> {
	public static final String API_METHOD = "fenqile.product.detail.get";
	
	/**
	 * 结果集返回字段列表，多个字段以半角逗号分隔,可选值为响应说明中的所有一级参数
	 * 必须
	 */
	public FieldOpt<ProductInfo> fields = new FieldOpt<>(ProductInfo.class);
	
	@Override
	public String getApiMethod() {
		return API_METHOD;
	}

}
